import { request } from "../request";

export const apiSysDictTypePagePost = (data:any)=>{
    return request({
        url: '/api/sysDictType/page',
        method: 'post',
        data
    })
}

export const apiSysDictTypeUpdatePost = (data:any)=>{
    return request({
        url: '/api/sysDictType/update',
        method: 'post',
        data
    })
}

export const apiSysDictTypeAddPost = (data:any)=>{
    return request({
        url: '/api/sysDictType/add',
        method: 'post',
        data
    })
}

export const apiSysDictDataPagePost = (data:any)=>{
    return request({
        url: '/api/sysDictData/page',
        method: 'post',
        data
    })
}

export const apiSysDictTypeDeletePost = (data:any)=>{
    return request({
        url: '/api/sysDictType/delete',
        method: 'post',
        data
    })
}

export const apiSysDictDataUpdatePost = (data:any)=>{
    return request({
        url: '/api/sysDictData/update',
        method: 'post',
        data
    })
}

export const apiSysDictDataAddPost = (data:any)=>{
    return request({
        url: '/api/sysDictData/add',
        method: 'post',
        data
    })
}

export const apiSysDictDataDeletePost = (data:any)=>{
    return request({
        url: '/api/sysDictData/delete',
        method: 'post',
        data
    })
}